package com.hwhhhh.graduationproject.dao.repo;

import com.hwhhhh.graduationproject.dao.entity.FreeClassroomEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.sql.Date;
import java.util.List;

/**
 * @Description detail
 * Created by Hwhhhh on 2021/3/5 11:55
 */
public interface FreeClassroomRepo extends JpaRepository<FreeClassroomEntity, Integer> {
    List<FreeClassroomEntity> getByFreeTypeOrderByFreeTypeAscAppointNumAsc(int freeType);
    List<FreeClassroomEntity> findIdAndAndClassroomNumByClassroomNumLike(String key);
    FreeClassroomEntity getById(int id);
}
